﻿   
@*
// 项目展示地址:"http://www.ddxc.org/"
 // 如果你有什么好的建议或者觉得可以加什么功能，请加QQ群：104390185 大家交流沟通
// 项目展示地址:"http://www.yoyocms.com/"
//博客地址：http://www.cnblogs.com/wer-ltm/
//代码生成器帮助文档：http://www.cnblogs.com/wer-ltm/p/5777190.html
// <Author-作者>角落的白板笔</Author-作者>
// Copyright © YoYoCms@中国.2017-05-27T17:27:57. All Rights Reserved.
//<生成时间>2017-05-27T17:27:57</生成时间>*@


 
 <div>
    <form name="newsCreateOrEditForm" role="form" novalidate class="form-validation">
        <div class="modal-header">
            <h4 class="modal-title">
                <span ng-if="vm.news.id">编辑信息:{{vm.news.name}}</span>
                <span ng-if="!vm.news.id">新增信息</span>
            </h4>
        </div>
        <div class="modal-body">
            

																								
           <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="Title" ng-class="{'edited':vm.news.title}" ng-model="vm.news.title"  maxlength="100"     required      />
                <label>标题</label>
								  <span class="help-block">     @L("Title")@L("MustBe_Required")</span>
				              </div>
									     <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <textarea auto-focus class="form-control" ng-class="{'edited':vm.news.content}" rows="4" ng-model="vm.news.content"></textarea>
                 <label>内容</label>
            </div>
									
           <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="Author" ng-class="{'edited':vm.news.author}" ng-model="vm.news.author"  maxlength="4000"         />
                <label>作者</label>
				            </div>
									     
	 
            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" id="PublishedTime" name="PublishedTime" class="form-control selectTime" ng-class="{'edited':vm.news.publishedTime}" ng-model="vm.news.publishedTime"        />
                <label for="PublishedTime">     @L("PublishedTime")</label>
            </div>
             

									
           <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="ClickCount" ng-class="{'edited':vm.news.clickCount}" ng-model="vm.news.clickCount"          />
                <label>点击率</label>
				            </div>
									 <div class="form-group form-md-line-input form-md-floating-label no-hint">
<div class="md-checkbox-list">
    <div class="md-checkbox">
                            <input id="EditNews_IsTop" class="md-check" type="checkbox" name="IsTop" ng-model="vm.news.isTop">
                            <label for="EditNews_IsTop" >
                                <span class="inc"></span>
                                <span class="check"></span>
                                <span class="box"></span>
                                @L("IsTop")
                            </label>
                        </div>
						</div>
						</div>
									 <div class="form-group form-md-line-input form-md-floating-label no-hint">
<div class="md-checkbox-list">
    <div class="md-checkbox">
                            <input id="EditNews_IsPicture" class="md-check" type="checkbox" name="IsPicture" ng-model="vm.news.isPicture">
                            <label for="EditNews_IsPicture" >
                                <span class="inc"></span>
                                <span class="check"></span>
                                <span class="box"></span>
                                @L("IsPicture")
                            </label>
                        </div>
						</div>
						</div>
									
           <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="CommentCount" ng-class="{'edited':vm.news.commentCount}" ng-model="vm.news.commentCount"          />
                <label>CommentCount</label>
				            </div>
									
           <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="NewsTypeId" ng-class="{'edited':vm.news.newsTypeId}" ng-model="vm.news.newsTypeId"          />
                <label>NewsTypeId</label>
				            </div>
					

           

        </div>
        <div class="modal-footer">
            <button ng-disabled="vm.saving" type="button" class="btn btn-default" ng-click="vm.cancel()">@L("Cancel")</button>
            <button type="submit" button-busy="vm.saving" busy-text="@L("SavingWithThreeDot")" class="btn btn-primary blue" ng-click="vm.save()" ng-disabled="exampleForm.$invalid"><i class="fa fa-save"></i> <span>@L("Save")</span></button>
        </div>
    </form>
</div>